<div class="holder">
	<div class="box"> 
	
		<div class="title"> 
			<h2>地区管理</h2> 
			<img alt="" class="toggle" src="<?php echo $Theme_Root?>/images/title-hide.gif"> 
		</div> 
		
		<div class="content pages"> 
			<table> 
				<thead> 
					<tr> 
						<td><input type="checkbox" class="checkall"></td> 
						<td>序号</td>
						<td>中文名</td>
						<td>英文名</td>
						<td>国家代码</td>
						<td>国际区号</td> 
						<td>操作</td> 
					</tr>	
				</thead>
				<tbody> 
					<?php
					foreach($regions as $region){
					?>
					<tr>
						<td><input type="checkbox" /></td>
						<td><?php echo $region['region_id'];?></td>
						<td><?php echo $region['region_name'];?></td>
						<td><?php echo $region['english_name'];?></td>
						<td><?php echo $region['abb'];?></td>
						<td><?php echo $region['code'];?></td>
						<td>
							<a href="<?php creat_url('c=region&a=edit&rid='.$region['region_id'],$Site_Url);?>" title="编辑">编辑</a>
							<a href="<?php creat_url('c=region&a=del&rid='.$region['region_id'],$Site_Url);?>" title="删除">删除</a>
							<a href="<?php creat_url('c=region&a=add&rid='.$region['region_id'],$Site_Url);?>" title="添加子地区">添加子地区</a>
						</td>
					</tr>
					<?php
					}
					?>
				</tbody>
			</table>
			<!-- 分页及批量操作信息 -->
			<div class="pages-bottom"> 
				<div class="actionbox"> 
					<form method="post" action="">
						<div class="sb-custom">
							<select class="action" tabindex="-1"> 
								<option>批量操作</option> 
								<option>禁用</option> 
								<option>启用</option> 
							</select>
						</div> 
						<button class="button-small" type="submit"><span>提交</span></button> 
					</form>
				</div> 
				<?php if ($pages){ ?>
				<div class="pagination"> 
					<?php echo $pages;?>
				</div> 
				<?php } ?>
			</div>
			<!-- 分页信息end -->	
			<!-- 功能按钮 -->
			<div class="row">
				<a href="<?php creat_url('c=region&a=add',$Site_Url);?>" class="button-normal" id="add-category"><span>添加地区</span></a>
			</div>
			<!-- 功能按钮 end-->
		</div>
	</div>
</div>